/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.trandio.dao;

import java.sql.SQLException;
import java.util.List;
import javax.naming.NamingException;
import org.trandio.model.PacienteVO;


/**
 *
 * @author root
 */
public interface PacienteInterface {    
      public List<PacienteVO> consultarPaciente(String ide,String n1,String n2,String a1, String a2) throws SQLException, NamingException;
      public int guardarPaciente(PacienteVO pacienteVO) throws SQLException, NamingException;
      public PacienteVO getPaciente(int id) throws SQLException, NamingException;
      public void guardarPacienteEdit(PacienteVO pacienteVO) throws SQLException, NamingException;
      public PacienteVO consultarPaciente(String identificacion) throws SQLException, NamingException;
      public List<PacienteVO> consultarPaciente(String identificacion, String nombre, String apellido) throws SQLException, NamingException;

      
      public int getCantPacientes(String $sWhere) throws SQLException, NamingException;
      public List<PacienteVO> getPacientes(int displayStart, int displayLength, String $sWhere, String orden) throws SQLException, NamingException;
}